package com.mega.fe.mixins;

import net.minecraft.util.ClassInstanceMultiMap;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;

import java.util.List;
import java.util.Map;

@Mixin(ClassInstanceMultiMap.class)
public interface ClassInstanceMultiMapModifier<T> {
    @Accessor("allInstances")
    List<T> allInstances();

    @Accessor("baseClass")
    Class<T> baseClass();

    @Accessor("byClass")
    Map<Class<?>, List<T>> byClass();
}
